import Vue from 'vue'
import Router from 'vue-router'
import movieRouter from './movie'
import cinemaRouter from './cinema'
import mineRouter from './mine'
import AdminRouter from './admin'

Vue.use(Router)

export default new Router({
    mode: 'history',
    //base: process.env.BASE_URL,
    base: 'miaomiao',
    routes: [{
            path: '/',
            redirect: '/movie'
        },
        movieRouter,
        cinemaRouter,
        mineRouter,
        AdminRouter
    ]
})